package com.hao.order.app.model.dto;

import com.hao.common.dto.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author haoge
 * @version 1.0
 * @date 2023/5/24 22:18
 */
@EqualsAndHashCode (callSuper = true)
@Data
public class QueryUserOrderRequest extends PageRequest {

    @NotNull
    @Min(1)
    private Long userId;

    @NotNull
    @Min (1)
    private Integer status;
}
